package yesjava;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.PrintWriter;

public class MainTest {
    public static void main(String[] args) throws Exception {
        StuMs stuMs = new StuMs("D://mystu");
        stuMs.start();


     /* *//*  for (int i = 0; i < 100; i++) {
            stuMs.add(new Student("姓名"+i,"No"+i,(int)(Math.random()*3 )));
        }*//*
        System.out.println("OK");

        //System.out.println(stuMs.find("No5"));
      *//*  stuMs.show( stuMs.find("No4") );
        stuMs.show( stuMs.find("No5") );*//*
        //stuMs.add(new Student("huangkex","No144",1));
       *//* stuMs.show( stuMs.find("No4") );*//*
//       stuMs.remove("No15");
//        stuMs.show( stuMs.find("No4") );

        stuMs.add(new Student("张大大","No9899",1));
        Student student = stuMs.find("No88");
        student.setName("黄黄黄");
        stuMs.update(student);
        stuMs.remove("No77");*/

    }
}
